<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:if test="${ERRS.size() > 0}">
    <ul class="tips error">
        <c:forEach items="${ERRS}" var="err">
            <li>${err}</li>
        </c:forEach>
        <%
            request.getSession().removeAttribute("ERRS");
        %>
    </ul>
</c:if>
<c:if test="${MSGS.size() > 0}">
    <ul class="tips message">
        <c:forEach items="${MSGS}" var="msg">
            <li>${msg}</li>
        </c:forEach>
        <%
            request.getSession().removeAttribute("MSGS");
        %>
    </ul>
</c:if>

<c:if test="${INFOS.size()>0}">
    <ul class="tips info">
        <c:forEach items="${INFOS}" var="msg">
            <li>${msg}</li>
        </c:forEach>
        <%
            request.getSession().removeAttribute("INFOS");
        %>
    </ul>
</c:if>